<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<html>
<head>
    <title>POM 项目</title>
    <script src="/bootstrap/jquery-1.9.1.min.js"></script>
</head>
<body>
<table>
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>头像</td>
        <td>性别</td>
        <td>爱好</td>
        <td>生日</td>
        <td>籍贯</td>
        <td>课程</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${pageInfo.list}" var="stu">
        <tr>
            <td>${stu.sid}</td>
            <td>${stu.sname}</td>
            <td>
                <img src="${stu.pic}" alt="无法展示">
            </td>
            <td>${stu.sex}</td>
            <td>${stu.hobby}</td>
            <td>${stu.birthday}</td>
            <td>${stu.ShengName}--${stu.ShiName}--${stu.XianName}</td>
            <td>${stu.cnames}</td>
            <td>操作</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
